<?php
/* @var $this PrinterController */
/* @var $data Printer */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('brand_id')); ?>:</b>
	<?php //echo CHtml::encode($data->brand_id); ?>
	<?php echo CHtml::encode($data->brand->brand_name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('model')); ?>:</b>
	<?php echo CHtml::encode($data->model); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('serial_number')); ?>:</b>
	<?php echo CHtml::encode($data->serial_number); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('supplier_id')); ?>:</b>
	<?php //echo CHtml::encode($data->supplier_id); ?>
	<?php echo CHtml::encode($data->supplier->lname); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('ink_cartridge_id')); ?>:</b>
	<?php //echo CHtml::encode($data->ink_cartridge_id); ?>
	<?php echo CHtml::encode($data->inkCartridge->model); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('status_id')); ?>:</b>
	<?php //echo CHtml::encode($data->status_id); ?>
	<?php echo CHtml::encode($data->status->status); ?>
	<br />

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('price')); ?>:</b>
	<?php echo CHtml::encode($data->price); ?>
	<br />

	*/ ?>

</div>